Release 10.1A: OpenEdge Development:
Progress 4GL Handbook
Accessing the browse columns
Each of the browse columns is an object in its own right, with its own handle. If you want to set individual column attributes at run time (for example, to enable columns for update), you set those attributes through the handle. Static browse columns are objects with handles as well, but you can also access those by name. Dynamic browse columns, like other dynamic objects, have no name, so you must use their handle.
Note: To make a dynamic browse column updateable, set itsREAD-ONLYattribute to false. Browse columns do not use theSENSITIVEattribute.The browse
FIRST-COLUMNattribute returns the handle to the first (leftmost) column in the browse. Each column’sNEXT-COLUMNattribute returns the handle of the column next to it. For example, you can add this block of code to theOlineFieldsLEAVEtrigger:
When you run the procedure again and select fields, Figure 18–16 shows what you see.
Figure 18–16: Result of COLUMN example
![]()
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |